<div th:if="${!#lists.isEmpty(list.rows)}">
    <div class="col-sm-6 col-md-4" th:each="item:${list.rows}" data-index="" th:object="${item}"
         xmlns:th="http://www.thymeleaf.org">
        <div class="well">
            <h3 th:text="*{name}"></h3>
            <p>[[*{#dates.format(startTime,'yyyy-MM-dd HH:mm:ss')}]]至[[*{#dates.format(endTime,'yyyy-MM-dd
                HH:mm:ss')}]]</p>
<!--            <p th:text="*{description}"></p>-->
            <p>
                <!--<button type="button" class="btn btn-primary">进入考试</button>-->
                <a th:href="@{/user/paper/list/{id}/{userExamId}(id=*{id},userExamId=*{userExamId})}"
                   class="btn btn-primary" role="button">进入考试</a>
            </p>
        </div>
    </div>
    <script>
        var pageNumber = [[${list.pageNumber}]];
        var pages = [[${list.pages}]];
        $("#pageNumber").val(pageNumber);
        $("#pages").val(pages)
        if (pages > pageNumber) {
            $(".more").show();
        } else {
            $(".more").hide();
        }
        //图片懒加载
        $(function () {
            imgLazy();
        })
    </script>
</div>
<div th:if="${#lists.isEmpty(list.rows)}">
    <p class="text-center">暂无数据！</p>
</div>